#ifndef __U2ThreadDefinesNone_H__
#define __U2ThreadDefinesNone_H__

#define U2_AUTO_MUTEX
#define U2_LOCK_AUTO_MUTEX
#define U2_MUTEX(name)
#define U2_STATIC_MUTEX(name)
#define U2_STATIC_MUTEX_INSTANCE(name)
#define U2_LOCK_MUTEX(name)
#define U2_LOCK_MUTEX_NAMED(mutexName, lockName)
#define U2_AUTO_SHARED_MUTEX
#define U2_LOCK_AUTO_SHARED_MUTEX
#define U2_NEW_AUTO_SHARED_MUTEX
#define U2_DELETE_AUTO_SHARED_MUTEX
#define U2_COPY_AUTO_SHARED_MUTEX(from)
#define U2_SET_AUTO_SHARED_MUTEX_NULL
#define U2_MUTEX_CONDITIONAL(name)                  if(true)
#define U2_RW_MUTEX(name)
#define U2_LOCK_RW_MUTEX_READ(name)
#define U2_LOCK_RW_MUTEX_WRITE(name)
#define U2_THREAD_SYNCHRONISER(sync) 
#define U2_THREAD_WAIT(sync, lock) 
#define U2_THREAD_NOTIFY_ONE(sync) 
#define U2_THREAD_NOTIFY_ALL(sync) 
#define U2_THREAD_POINTER(T, var)                   T* var
#define U2_THREAD_POINTER_INIT(var)                 var(0)
#define U2_THREAD_POINTER_VAR(T, var)               T* var = 0
#define U2_THREAD_POINTER_SET(var, expr)            var = expr
#define U2_THREAD_POINTER_GET(var) var
#define U2_THREAD_POINTER_DELETE(var)               { U2_DELETE var; var = 0; }
#define U2_THREAD_SLEEP(ms)
#define U2_THREAD_WORKER_INHERIT

#endif
